#include <QApplication>
#include <QWidget>

#include "GLWindow.h"

using namespace Shiny::Editor;

int main(int argc, char *argv[])
{
	QApplication a(argc, argv);

	GLWindow window;
	window.Initialise();

	window.resize(1200, 600);
	window.setWindowTitle("ShinyEditor");
	window.show();
	
	int errorCode = a.exec();
	if (!window.Shutdown())
		errorCode |= 1;

	return errorCode;
}
